home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / WakeRace.dxr / Internal_19_Instructions Script.ls < prev    next >
Encoding:
Text File  |  2002-01-25  |  430 b   |  24 lines

  1. property pOldLocV
  2.  
  3. on beginSprite
  4.   pOldLocV = the mouseV
  5. end
  6.  
  7. on enterFrame me
  8.   if the stillDown then
  9.     diff = pOldLocV - the mouseV
  10.     member("InstructionsText").scrollTop = member("InstructionsText").scrollTop + diff
  11.     pOldLocV = the mouseV
  12.   else
  13.     member("InstructionsText").scrollTop = member("InstructionsText").scrollTop + 1
  14.   end if
  15. end
  16.  
  17. on mouseDown
  18.   pOldLocV = the mouseV
  19. end
  20.  
  21. on exitFrame
  22.   go(the frame)
  23. end
  24.